package com.kk.framework.session;

import java.io.Serializable;
import java.util.HashMap;

@SuppressWarnings("serial")
public class SystemSessionObject implements Serializable 
{
	private HashMap<String, Object> _sessObjContainer = new HashMap<String, Object>();
	
	/**
	 * 设置浏览器显示区域宽度
	 * @param width
	 */
	public void setDesktopWidth(Integer width)
	{
		this._sessObjContainer.put("DesktopWidth", width);
	}
	/**
	 * 获取浏览器显示区域宽度
	 * @return
	 */
	public Integer getDesktopWidth()
	{
		return this._sessObjContainer.get("DesktopWidth")==null?0:(Integer)this._sessObjContainer.get("DesktopWidth");
	}
	
	/**
	 * 设置浏览器显示区域高度
	 * @param width
	 */
	public void setDesktopHeight(Integer height)
	{
		this._sessObjContainer.put("DesktopHeight", height);
	}
	/**
	 * 获取浏览器显示区域高度
	 * @return
	 */
	public Integer getDesktopHeight()
	{
		return this._sessObjContainer.get("DesktopHeight")==null?0:(Integer)this._sessObjContainer.get("DesktopHeight");
	}
}
